package com.cellulam.framework.core.enums;

import com.cellulam.framework.core.utils.EnumHelper;

/**
 * 带code的描述
 */
public interface CodeFeature {

    default void registerToHelper() {
        EnumHelper.register(getClass());
    }

    /**
     * 代码
     * @return
     */
    int getCode();

}
